ARM: GICv3: enable ITS on the host
authorAndre Przywara <andre.przywara@arm.com>
Wed, 19 Apr 2017 16:30:49 +0000 (17:30 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 14 Jun 2017 18:38:37 +0000 (11:38 -0700)
commitbde03c44b1d368edcdace8cdfef56cba3211411c
tree069d06938294da35ea3c7f4860c9fb99a49ea487
parent43208a9cb4c3decce67b653539c1b860121fbb5e
ARM: GICv3: enable ITS on the host

Even though the ITS emulation is not yet in place, the host ITS already
gets initialized and Xen tries to map the host collections.
However for commands to be processed we need to *enable* the ITS, which
will be done in a later patch not yet merged.
So those MAPC commands are not processed and run into a timeout, leading
to a panic on machines which advertise an ITS in their DT.
This patch just enables the ITS (but not the LPIs on each redistributor),
to get those MAPC commands executed.

This fixes booting Xen on ARM64 machines with an ITS and the
(EXPERT) ITS Kconfig option enabled.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Julien Grall <julien.grall@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/gic-v3-its.c